<template>
  <div class="about-page">
    <!-- 面包屑导航 -->
    <div class="breadcrumb-section">
      <div class="container">
        <el-breadcrumb separator="/">
          <el-breadcrumb-item :to="{ path: '/' }">{{ $t('common.home') }}</el-breadcrumb-item>
          <el-breadcrumb-item>{{ $t('about.breadcrumb') }}</el-breadcrumb-item>
        </el-breadcrumb>
      </div>
    </div>

    <div class="page-header">
      <div class="container">
        <h1 class="page-title">{{ $t('about.title') }}</h1>
        <p class="page-subtitle">{{ $t('about.subtitle') }}</p>
      </div>
    </div>

    <div class="page-content">
      <div class="container">
        <!-- 公司简介 -->
        <div class="company-intro-section">
          <h2 class="section-title">{{ $t('about.company.title') }}</h2>
          <div class="intro-content">
            <div class="intro-text">
              <p>{{ $t('about.company.description1') }}</p>
              <p>{{ $t('about.company.description2') }}</p>
            </div>
            <div class="intro-stats">
              <div class="stat-item">
                <div class="stat-number">20+</div>
                <div class="stat-label">{{ $t('about.stats.experience') }}</div>
              </div>
              <div class="stat-item">
                <div class="stat-number">40,000+</div>
                <div class="stat-label">{{ $t('about.stats.employees') }}</div>
              </div>
              <div class="stat-item">
                <div class="stat-number">70+</div>
                <div class="stat-label">{{ $t('about.stats.branches') }}</div>
              </div>
              <div class="stat-item">
                <div class="stat-number">150+</div>
                <div class="stat-label">{{ $t('about.stats.countries') }}</div>
              </div>
            </div>
          </div>
        </div>

        <!-- 联系方式 -->
        <div class="contact-section">
          <h2 class="section-title">{{ $t('about.contact.title') }}</h2>
          <div class="contact-content">
            <div class="company-info">
              <h3 class="company-name">{{ $t('about.contact.companyName') }}</h3>
              <div class="contact-details">
                <div class="contact-item">
                  <span class="contact-label">{{ $t('about.contact.phone') }}:</span>
                  <span class="contact-value">{{ $t('about.contact.phoneNumber') }}</span>
                </div>
                <div class="contact-item">
                  <span class="contact-label">{{ $t('about.contact.email') }}:</span>
                  <span class="contact-value">
                    {{ $t('about.contact.emailMarket') }} ({{ $t('about.contact.market') }})
                    {{ $t('about.contact.emailSeparator') }}
                    {{ $t('about.contact.emailMedia') }} ({{ $t('about.contact.media') }})
                  </span>
                </div>
                <div class="contact-item">
                  <span class="contact-label">{{ $t('about.contact.fax') }}:</span>
                  <span class="contact-value">{{ $t('about.contact.faxNumber') }}</span>
                </div>
                <div class="contact-item">
                  <span class="contact-label">{{ $t('about.contact.address') }}:</span>
                  <span class="contact-value">{{ $t('about.contact.addressValue') }}</span>
                </div>
                <div class="contact-item">
                  <span class="contact-label">{{ $t('about.contact.postalCode') }}:</span>
                  <span class="contact-value">{{ $t('about.contact.postalCodeValue') }}</span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'About'
}
</script>

<style lang="scss" scoped>
.about-page {
  .breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    
    .el-breadcrumb {
      font-size: 14px;
    }
  }

  .page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    
    .page-title {
      font-size: 48px;
      font-weight: bold;
      margin-bottom: 20px;
    }
    
    .page-subtitle {
      font-size: 20px;
      opacity: 0.9;
    }
  }

  .page-content {
    padding: 60px 0;
    
    .section-title {
      font-size: 32px;
      font-weight: bold;
      color: #2c3e50;
      margin-bottom: 40px;
      text-align: center;
    }
  }

  .company-intro-section {
    margin-bottom: 80px;
    
    .intro-content {
      .intro-text {
        text-align: center;
        margin-bottom: 50px;
        
        p {
          font-size: 16px;
          color: #666;
          line-height: 1.8;
          margin-bottom: 20px;
          max-width: 900px;
          margin-left: auto;
          margin-right: auto;
        }
      }
      
      .intro-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin-top: 50px;
        
        .stat-item {
          text-align: center;
          padding: 30px 20px;
          background: #fff;
          border-radius: 8px;
          box-shadow: 0 4px 20px rgba(0,0,0,0.1);
          transition: transform 0.3s ease;
          
          &:hover {
            transform: translateY(-5px);
          }
          
          .stat-number {
            font-size: 36px;
            font-weight: bold;
            color: #409eff;
            margin-bottom: 10px;
          }
          
          .stat-label {
            font-size: 16px;
            color: #666;
          }
        }
      }
    }
  }

  .contact-section {
    .contact-content {
      max-width: 800px;
      margin: 0 auto;
      
      .company-info {
        background: #fff;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        
        .company-name {
          font-size: 24px;
          font-weight: bold;
          color: #2c3e50;
          margin-bottom: 30px;
          text-align: center;
        }
        
        .contact-details {
          .contact-item {
            display: flex;
            margin-bottom: 20px;
            align-items: flex-start;
            
            .contact-label {
              font-weight: bold;
              color: #2c3e50;
              min-width: 80px;
              margin-right: 15px;
              flex-shrink: 0;
            }
            
            .contact-value {
              color: #666;
              line-height: 1.6;
              flex: 1;
            }
          }
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .about-page {
    .breadcrumb-section {
      padding: 10px 0;
    }

    .page-header {
      padding: 60px 0;
      
      .page-title {
        font-size: 32px;
      }
      
      .page-subtitle {
        font-size: 16px;
      }
    }
    
    .page-content {
      padding: 40px 0;
      
      .section-title {
        font-size: 24px;
      }
    }
    
    .company-intro-section {
      margin-bottom: 60px;
      
      .intro-content {
        .intro-stats {
          grid-template-columns: repeat(2, 1fr);
          gap: 20px;
          
          .stat-item {
            padding: 20px 15px;
            
            .stat-number {
              font-size: 28px;
            }
            
            .stat-label {
              font-size: 14px;
            }
          }
        }
      }
    }
    
    .contact-section {
      .contact-content {
        .company-info {
          padding: 30px 20px;
          
          .company-name {
            font-size: 20px;
          }
          
          .contact-details {
            .contact-item {
              flex-direction: column;
              margin-bottom: 15px;
              
              .contact-label {
                margin-bottom: 5px;
                margin-right: 0;
              }
            }
          }
        }
      }
    }
  }
}
</style>
